﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EIIS.FrameWork.Repository;
using EIIS.Infrastructure.Model.System;

namespace EIIS.Infrastructure.Repositories.System
{
    public interface IDictionaryRepository : IRepository<Dictionary>
    {
        IQueryable<Dictionary> LoadAllByPage(out long total, string strDicCategoryId, int page, int rows, string order, string sort);

        IQueryable<Dictionary> LoadAllByCategoryCode(string strCode);

        /// <summary>
        /// 根据条码号获取字典中包的数据
        /// </summary>
        /// <param name="TiaoMH">条码号</param>
        /// <param name="ZT">状态值：1包装，2灭菌，3发放</param>
        /// <returns></returns>
        Dictionary GetByTiaoMH(string TiaoMH, int ZT);
    }
}
